#ifndef _PERSONTEST_H
#define	_PERSONTEST_H

#include <cppunit/TestFixture.h>
#include <cppunit/extensions/HelperMacros.h>
#include "genealogy_tree/Person.h"

namespace etu {

using etu::genealogy_tree::Person;

class PersonTest : public CPPUNIT_NS::TestFixture {
    CPPUNIT_TEST_SUITE(PersonTest);
    CPPUNIT_TEST(unknownPersonTest);
    CPPUNIT_TEST(contentsTest);
    CPPUNIT_TEST(serializationTest);
    CPPUNIT_TEST_SUITE_END();

    Person* person;

public:
    void setUp();
    void tearDown();

protected:
    void unknownPersonTest();
    void contentsTest();
    void serializationTest();

};

CPPUNIT_TEST_SUITE_REGISTRATION(PersonTest);

}

#endif	/* _PERSONTEST_H */

